package cn.ad.model;

import org.apache.ibatis.type.Alias;

/**
 * 原生模版 素材规格列表
 * 
 * @author yu-juan.zhang
 * @from 2016-06-17
 * @since V1.0
 *
 */
@Alias("adTemplateSpecListModel")
public class AdTemplateSpecListModel {
	
	/**
	 * 原生模版的素材规格ID
	 */
	private Integer id;
	
	/**
	 * 模版ID
	 */
	private Integer templateId;

	/**
	 * 元素类型
	 */
	private Integer elementType;

	/**
	 * 元素所在位置索引
	 */
	private Integer index;

	/**
	 * 元素所在位置 类型名称
	 */
	private String indexValue;

	/**
	 * 宽度
	 */
	private Integer width;

	/**
	 * 高度
	 */
	private Integer height;

	/**
	 * 大小
	 */
	private Integer size;

	/**
	 * 文字最小长度
	 */
	private int minLength;

	/**
	 * 文字最大长度
	 */
	private int maxLength;
	
	/**
	 * 所支持的素材格式， 值选用以下枚举值，多个选项之间以逗号隔开。1 - jpg 2 - png 3 - gif 4 - text 5 - mp4 6 - flv
	 */
	private String formatType;

	/**
	 * 支持的跳转类型
	 */
	private String filterType;

	public String getFilterType() {
		return filterType;
	}

	public void setFilterType(String filterType) {
		this.filterType = filterType;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getTemplateId() {
		return templateId;
	}

	public void setTemplateId(Integer templateId) {
		this.templateId = templateId;
	}

	public Integer getElementType() {
		return elementType;
	}

	public void setElementType(Integer elementType) {
		this.elementType = elementType;
	}

	public Integer getIndex() {
		return index;
	}

	public void setIndex(Integer index) {
		this.index = index;
	}

	public String getIndexValue() {
		return indexValue;
	}

	public void setIndexValue(String indexValue) {
		this.indexValue = indexValue;
	}

	public Integer getWidth() {
		return width;
	}

	public void setWidth(Integer width) {
		this.width = width;
	}

	public Integer getHeight() {
		return height;
	}

	public void setHeight(Integer height) {
		this.height = height;
	}

	public Integer getSize() {
		return size;
	}

	public void setSize(Integer size) {
		this.size = size;
	}

	public int getMinLength() {
		return minLength;
	}

	public void setMinLength(int minLength) {
		this.minLength = minLength;
	}

	public int getMaxLength() {
		return maxLength;
	}

	public void setMaxLength(int maxLength) {
		this.maxLength = maxLength;
	}

	public String getFormatType() {
		return formatType;
	}

	public void setFormatType(String formatType) {
		this.formatType = formatType;
	}
}
